<script>
	export default {
		created() {
			var userInfo = {
			  openId: "oQmbb4sNZdxaUQZ0sfYgvtOP2S7c",
			  nickName: "蜗牛",
			  gender: 1,
			  language: "zh_CN",
			  city: "Changping",
			  province: "Beijing",
			  country: "China",
			  avatarUrl: "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIbWFEIJj8IpGeHM7dGic1aTFZALjWcMm9ltWfFiaQfVRYticWBfgGfzXWMt2EkJWiaicPtftHAlWxUibxQ/132",
			  watermark: { timestamp: 1535513485, appid: "wx601ce71bde7b9add" }
			};
			var openId = userInfo.openId;
			uni.setStorageSync('userInfo',userInfo);
			uni.setStorageSync('openId',openId)
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("./ALiconfont/icon.css");
	page{
		height: 100%;
	}
	ul{
		margin: 0;
		padding: 0;
	}
</style>
